{
g_value_init (&value, gtk_css_custom_property_get_specified_type (custom->pspec));
- success = _gtk_css_style_parse_value (&value, parser);
+ success = _gtk_css_style_funcs_parse_value (&value, parser);
}
if (!success)
val->section != NULL ? gtk_css_section_get_file (val->section) : NULL,
val->value);
- found = _gtk_css_style_parse_value (value,
- scanner->parser);
+ found = _gtk_css_style_funcs_parse_value (value,
+ scanner->parser);
gtk_css_scanner_destroy (scanner);
* Returns: %TRUE if parsing succeeded.
**/
gboolean
-_gtk_css_style_parse_value (GValue *value,
- GtkCssParser *parser)
+_gtk_css_style_funcs_parse_value (GValue *value,
+ GtkCssParser *parser)
{
GtkStyleParseFunc func;
* valid value, a random string will be printed instead.
**/
void
-_gtk_css_style_print_value (const GValue *value,
- GString *string)
+_gtk_css_style_funcs_print_value (const GValue *value,
+ GString *string)
{
GtkStylePrintFunc func;
* Returns: the resulting value
**/
GtkCssValue *
-_gtk_css_style_compute_value (GtkStyleProviderPrivate *provider,
- GtkCssComputedValues *values,
- GtkCssComputedValues *parent_values,
- GType target_type,
- GtkCssValue *specified,
- GtkCssDependencies *dependencies)
+_gtk_css_style_funcs_compute_value (GtkStyleProviderPrivate *provider,
+ GtkCssComputedValues *values,
+ GtkCssComputedValues *parent_values,
+ GType target_type,
+ GtkCssValue *specified,
+ GtkCssDependencies *dependencies)
{
GtkStyleComputeFunc func;
G_BEGIN_DECLS
-gboolean _gtk_css_style_parse_value (GValue *value,
+gboolean _gtk_css_style_funcs_parse_value (GValue *value,
GtkCssParser *parser);
-void _gtk_css_style_print_value (const GValue *value,
+void _gtk_css_style_funcs_print_value (const GValue *value,
GString *string);
-GtkCssValue * _gtk_css_style_compute_value (GtkStyleProviderPrivate *provider,
+GtkCssValue * _gtk_css_style_funcs_compute_value (GtkStyleProviderPrivate *provider,
GtkCssComputedValues *values,
GtkCssComputedValues *parent_values,
GType target_type,
{
GtkCssCustomProperty *custom = GTK_CSS_CUSTOM_PROPERTY (_gtk_css_style_property_lookup_by_id (property_id));
- return _gtk_css_style_compute_value (provider, values, parent_values, custom->pspec->value_type, value, dependencies);
+ return _gtk_css_style_funcs_compute_value (provider, values, parent_values, custom->pspec->value_type, value, dependencies);
}
static gboolean
gtk_css_value_typed_print (const GtkCssValue *value,
GString *string)
{
- _gtk_css_style_print_value (&value->value, string);
+ _gtk_css_style_funcs_print_value (&value->value, string);
}
static const GtkCssValueClass GTK_CSS_VALUE_TYPED = {